package com.wl.eduorder.client;

import com.wl.connonutils.ordervo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author lei.wan
 * @since 2021/9/7
 */
@FeignClient("service-edu")
@Component
public interface CourseClient {

    @PostMapping("/eduservice/course/getCourseInfoOrder/{id}")
    CourseWebVoOrder getcourseInfoOrder(@PathVariable("id") String id);
}
